package com.xinyi.share.weixin.message.event;

import com.xinyi.share.weixin.message.Message;

/**
 * 
 * @description 事件消息
 * @author wangchuan
 * @date 2014年7月5日上午11:25:21
 * @version 1.0
 */
public class EventMessage extends Message {
	/**
	 * 事件
	 */
	private String event;
	
	public EventMessage(){}
	
	public EventMessage(String fromUserName, String toUserName,String event,long createTime){
		super(eventtype, fromUserName, toUserName,createTime);
		this.event = event;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	@Override
	public String toString() {
		return "EventMessage [event=" + event + ", getMsgType()=" + getMsgType() + ", getFromUserName()=" + getFromUserName() + ", getToUserName()=" + getToUserName() + ", getCreateTime()="
				+ getCreateTime() + "]";
	}

	
	
}
